package edu.sandau.b230111.b23011125.Service;

import edu.sandau.b230111.b23011125.Global.GlobalEnum;

import edu.sandau.b230111.b23011125.Model.SubmitRecord;
import org.springframework.data.domain.Page;

public interface RecordService {
    public GlobalEnum.OperateResult saveRecord(SubmitRecord record);
//    public GlobalEnum.OperateResult delete(String recordId);
//    public GlobalEnum.OperateResult modifyRecord(SubmitRecord Record);
    public Page<SubmitRecord> queryAllRecord(Integer pageNum, Integer pageSize);
    public Page<SubmitRecord> queryRecordByProblemId(String Problemid,Integer pageNum,Integer pageSize);
}
